package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by DK on 17/3/10.
 */
public class AuthResourceDto extends DtoEntity {

    private Long parentId;

    private String iconName;


    private String type;

    private Long resourceId;

    private Long sort;

    private String systemType;

    private String frontendUrl;

    private String backendUrl;

    private List<String> backendUrlList;

    private List<AuthResourceDto> authResourceList = new ArrayList<>();

    private String name;
    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getIconName() {
        return iconName;
    }

    public void setIconName(String iconName) {
        this.iconName = iconName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public String getSystemType() {
        return systemType;
    }

    public void setSystemType(String systemType) {
        this.systemType = systemType;
    }

    public String getFrontendUrl() {
        return frontendUrl;
    }

    public void setFrontendUrl(String frontendUrl) {
        this.frontendUrl = frontendUrl;
    }

    public String getBackendUrl() {
        return backendUrl;
    }

    public void setBackendUrl(String backendUrl) {
        this.backendUrl = backendUrl;
    }

    public List<AuthResourceDto> getAuthResourceList() {
        return authResourceList;
    }

    public void setAuthResourceList(List<AuthResourceDto> authResourceList) {
        this.authResourceList = authResourceList;
    }

    public Long getResourceId() {
        return resourceId;
    }

    public void setResourceId(Long resourceId) {
        this.resourceId = resourceId;
    }

    public List<String> getBackendUrlList() {
        return backendUrlList;
    }

    public void setBackendUrlList(List<String> backendUrlList) {
        this.backendUrlList = backendUrlList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "AuthResourceDto{" +
                "parentId=" + parentId +
                ", iconName='" + iconName + '\'' +
                ", type='" + type + '\'' +
                ", resourceId=" + resourceId +
                ", sort=" + sort +
                ", systemType='" + systemType + '\'' +
                ", frontendUrl='" + frontendUrl + '\'' +
                ", backendUrl='" + backendUrl + '\'' +
                ", backendUrlList=" + backendUrlList +
                ", authResourceList=" + authResourceList +
                ", name='" + name + '\'' +
                '}';
    }
}
